#set(title="人力资源管理系统登录")
#@layout()

#define body()
<div class="layui-tab layui-tab-brief tab" lay-filter="vocation">
    <ul class="layui-tab-title">
        <li class="layui-this">待处理</li>
        <li>我申请的</li>
        <li>已处理</li>
        <li class="new-party">
            <button class="layui-btn layui-btn-danger layui-btn-small" id="newVocation">申请休假</button>
        </li>
    </ul>
    <div class="layui-tab-content">
        #include("waiting.html")
        #include("myOwn.html")
        #include("checked.html")
    </div>
</div>
#end

#define css()
<link href="/assets/css/vocation.css" rel="stylesheet">
#end


#define js()
<script src="/assets/js/vocation.js"></script>
#end


<form class="layui-form new-emp-form" action="" id="newVocationForm">
    <div class="layui-form-item">
        <label class="layui-form-label">开始日期</label>
        <div class="layui-input-inline">
            <input type="text" name="startDay" autocomplete="off" required id="startDay" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">结束日期</label>
        <div class="layui-input-inline">
            <input type="text" name="endDay" autocomplete="off" required id="endDay" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">休假理由</label>
        <div class="layui-input-block">
            <textarea name="reason" placeholder="请输入内容" class="layui-textarea"></textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="newVocationSubmit">立即提交</button>
            <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
        </div>
    </div>
</form>
